package io.renren.modules.sys.service;

import io.renren.common.dto.SongSetSong;
import io.renren.common.utils.Query;
import io.renren.modules.sys.entity.SongEntity;
import io.renren.modules.sys.entity.SongsetEntity;
import io.renren.modules.sys.entity.SongsetSongEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author wangyi
 * @email 794651397@qq.com
 * @date 2018-02-24 10:46:32
 */
public interface SongsetService {
	
	SongsetEntity queryObject(Long id);
	
	List<SongsetEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(SongsetEntity songset);
	
	void update(SongsetEntity songset);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);

    List<SongEntity> getSongBySetId(Long id);

    void deleteSongSetSong(Integer songsetId);

    void addSongSetSongBatch(List<SongsetSongEntity> l);

    List<SongsetEntity> queryListRecommendSort(Query query);

    int queryTotalRecommendSort(Query query);

    List<SongsetEntity> queryListNewSort(Query query);

    int queryTotalNewSort(Query query);
}
